home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
program
/
n_b_v203.zip
/
REVERSE.DMO
< prev
next >
Wrap
Text File
|
1996-07-04
|
2KB
|
43 lines
$if 0
┌──────────────────────────╖ PowerBASIC v3.20
┌──┤ DASoft ╟──────────────────────┬──────────────────╖
│ ├──────────────────────────╢ Copyright 1995 │ DATE: 1995-10-01 ╟─╖
│ │ FILE NAME REVERSE .DMO ║ by ╘════════════════─ ║ ║
│ │ ║ Don Schullian, Jr. ║ ║
│ ╘══════════════════════════╝ ║ ║
│ A license is hereby granted to the holder to use this source code in ║ ║
│ any program, commercial or otherwise, without receiving the express ║ ║
│ permission of the copyright holder and without paying any royalties, ║ ║
│ as long as this code is not distributed in any compilable format. ║ ║
│ IE: source code files, PowerBASIC Unit files, and printed listings ║ ║
╘═╤═════════════════════════════════════════════════════════════════════╝ ║
│ .................................... ║
╘═══════════════════════════════════════════════════════════════════════╝
$endif
'.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°.°
' ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° ° °
$INCLUDE "DAS-NB01.INC"
COLOR 7, 0
CLS
? "┌───────────────────────────────────────────────────────────────────
? "│ Reverse ( ANY )
? "│ fReverse$( ANY )
? "├──────────────────────────────────────────────────────────────────────
? "│ Ever have that feeling that something wasn't right? Well, here is the
? "│ cure to all the worlds problems.... :)
? "└─────────────────────────────────────────────────────────────────────────
T$ = "This is a test."
PRINT T$
CALL Reverse ( T$ )
PRINT T$
PRINT fReverse$( T$ )
PRINT
T$ = "!TI ESU OT NEHW TUO ERUGIF SI OD OT EVAH UOY LLA WON"
PRINT fReverse$( T$ )